package com.project.bean;

import java.time.LocalDate;

/**班级实体类*/
public class ClassBean {
    /**班级id*/
    private int classId;
    /**班级名称*/
    private String className;
    /**开班时间*/
    private LocalDate startDate;
    /**带班老师*/
    private String teacher;

    public ClassBean() {
    }

    public ClassBean(String className, LocalDate startDate, String teacher) {
        this.className = className;
        this.startDate = startDate;
        this.teacher = teacher;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return className;
    }
}
